package com.lazyboyl.big.data.read.util;

import java.io.File;
import java.io.FileWriter;
import java.io.IOException;

/**
 * @author linzf
 * @since 2021-07-29
 * 类描述： 快速生成相应的数据
 */
public class CreateBigData {

    public static void main(String[] args) throws IOException {
        File file = new File("E:\\learn-work\\fantastic-ideas\\big-data-read-handle\\big-data-read\\bigData\\bigTxt.txt");
        FileWriter out = new FileWriter(file);
        for (int i = 0; i < 100000; i++) {
            out.write("line" + i + "\n");
        }
        out.close();
    }

}
